package com.example.observer.fan.Impi;

import com.example.observer.fan.Fan;

public class FanImpi implements Fan {
    String bloggerName;

    public FanImpi(String bloggerName) {
        this.bloggerName = bloggerName;
    }

    @Override
    public void receiveMessage(String message) {
        System.out.println(bloggerName + "发送了:  " + message);
    }

    @Override
    public String getName() {
        return "";
    }
}
